package com.gec.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.entity.ShoppingCart;

/**
 * <p>
 *   购物车服务接口
 * </p>
 *
 * @author : [chenxys]
 * @version : [v1.0]
 * @createTime : [2022/7/15 20:16]
 */
public interface ShoppingCartService extends IService<ShoppingCart> {
    ShoppingCart add(ShoppingCart shoppingCart);

    void clear();

    void sub(ShoppingCart shoppingCart);
}
